//
//  CategoryAdditions.h
//  Doc Ebook
//
//  Created by Hai Nguyen on 9/6/12.
//  Copyright (c) 2012 Hai Nguyen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Category.h"

//@property (nonatomic, retain) NSNumber * id;
//@property (nonatomic, retain) NSString * note;
//@property (nonatomic, retain) NSString * title;
//@property (nonatomic, retain) NSData * thumbnail;

@interface Category (Additions)

+ (BOOL)insertCategory:(int)catId name:(NSString*)name thumbnail:(UIImage*)thumbnail note:(NSString*)note;
+ (NSArray*)getCategories;
+ (Category*)categoryById:(int)catId;

@end
